<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="步骤1：创建复制网络逻辑端口">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="ActiveDirectory-00023.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="ActiveDirectory-00024">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>步骤1：创建复制网络逻辑端口</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="ActiveDirectory-00024"></a><a name="ActiveDirectory-00024"></a>


  <h1 class="topictitle1">步骤1：创建复制网络逻辑端口</h1>

  <div><p id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000001149078659_p1720618465166">分别在主从端的<span id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_text17286144712414">OceanProtect</span>中创建复制网络逻辑端口，用于远程复制数据传输。</p>
<div class="section" id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000001149078659_section76551503175"><h4 class="sectiontitle">前提条件</h4><p id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000001149078659_p4324626143813">已规划主从端复制网络IP地址。</p>
</div>
<div class="section" id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_section52861652181216"><h4 class="sectiontitle">注意事项</h4><p id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_p26913558128">请确保网络配置时无正在运行的任务。</p>
</div>
<div class="section" id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000001149078659_section01286189357"><h4 class="sectiontitle">操作步骤</h4><ol id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000001149078659_ol3195132918350"><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000001149078659_li1749374163512"><span>选择“系统 &gt; 设置 &gt; 网络配置”。</span></li><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_li1078512419129"><span>单击“网络配置”界面右上角的<span><img id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_image11786948122" src="zh-cn_image_0000002200147289.png"></span>。</span></li><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000001149078659_li1020518291423"><span>在“业务网络配置”区域，为每个控制器创建复制逻辑端口。</span><p><ol type="a" id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_ol18303914191419"><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_li137561017942">单击“创建端口”。</li><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_li5756917542">在弹出的“配置业务端口”界面，选择“角色”为“复制”。</li><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_li177566178411">自定义逻辑端口名称。</li><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_li1375714171241">在“网络配置”区域，设置逻辑端口的IP地址类型、IP地址、子网掩码（IPv4）/前缀长度（IPv6）、网关。</li><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_li375731710412">在“端口配置”区域，参考<a href="#ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_table67321381846">表1</a>配置。<div class="note" id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_note473114813410"><img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span><div class="notebody"><p id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_p107315810411">“端口配置”区域的信息保存后不支持修改，配置时请务必确保信息正确。</p>
</div></div>

<div class="tablenoborder"><a name="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_table67321381846"></a><a name="foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_table67321381846"></a><table cellpadding="4" cellspacing="0" summary="" id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_table67321381846" frame="border" border="1" rules="all"><caption><b>表1 </b>参数说明</caption><colgroup><col style="width:27.87%"><col style="width:72.13000000000001%"></colgroup><thead align="left"><tr id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_row2732128643"><th align="left" class="cellrowborder" valign="top" width="27.87%" id="mcps1.3.4.2.3.2.1.5.3.2.3.1.1"><p id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_p167321486414">参数</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="72.13000000000001%" id="mcps1.3.4.2.3.2.1.5.3.2.3.1.2"><p id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_p10732148845">说明</p>
</th>
</tr>
</thead>
<tbody><tr id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_row1373210812410"><td class="cellrowborder" valign="top" width="27.87%" headers="mcps1.3.4.2.3.2.1.5.3.2.3.1.1 "><p id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_p187321481843">是否使用VLAN</p>
</td>
<td class="cellrowborder" valign="top" width="72.13000000000001%" headers="mcps1.3.4.2.3.2.1.5.3.2.3.1.2 "><p id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_p47321181545">默认不勾选。勾选前请确认业务已配置VLAN，勾选后，配置的业务端口会应用于VLAN。</p>
</td>
</tr>
<tr id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_row473268741"><td class="cellrowborder" valign="top" width="27.87%" headers="mcps1.3.4.2.3.2.1.5.3.2.3.1.1 "><p id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_p973218810411">端口类型</p>
</td>
<td class="cellrowborder" valign="top" width="72.13000000000001%" headers="mcps1.3.4.2.3.2.1.5.3.2.3.1.2 "><p id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_p373228546">逻辑端口所属的端口的类型，包括<span class="uicontrol" id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_uicontrol1773218440">“以太网端口”</span>和<span class="uicontrol" id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_uicontrol1873216811411">“绑定端口”</span>。</p>
</td>
</tr>
<tr id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_row15732681949"><td class="cellrowborder" valign="top" width="27.87%" headers="mcps1.3.4.2.3.2.1.5.3.2.3.1.1 "><p id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_p87321281417">端口选择</p>
</td>
<td class="cellrowborder" valign="top" width="72.13000000000001%" headers="mcps1.3.4.2.3.2.1.5.3.2.3.1.2 "><div class="p" id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_p1473217816411">支持“创建新端口”或“复用当前已配置端口”。<div class="note" id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_note331015191857"><span class="notetitle"> 说明： </span><div class="notebody"><ul id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_ul20615134193717"><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_li8235141811372">当勾选了“是否使用VLAN”或“端口类型”选择<span class="uicontrol" id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_uicontrol13558193543810">“绑定端口”</span>时，才显示此参数。</li><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_li661544113711">当“端口类型”选择“绑定端口”，但当前可用以太网端口数量小于2个时，“端口选择”请设置为“复用当前已配置端口”或修改“端口类型”为“以太网端口”。</li><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_li15834202105914">复用当前已配置的绑定端口创建逻辑端口，如果该逻辑端口对应的绑定端口未被其他业务占用，则删除逻辑端口的同时也会删除备份存储设备上的绑定端口。</li></ul>
</div></div>
</div>
</td>
</tr>
<tr id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_row15709581185"><td class="cellrowborder" valign="top" width="27.87%" headers="mcps1.3.4.2.3.2.1.5.3.2.3.1.1 "><p id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_p47075818816">以太网端口</p>
</td>
<td class="cellrowborder" valign="top" width="72.13000000000001%" headers="mcps1.3.4.2.3.2.1.5.3.2.3.1.2 "><ul id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_ul9582239886"><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_li5855542783">当“端口类型”选择“绑定端口”且“端口选择”为“创建新端口”时，如果当前可用的以太网端口数量不小于2个，则可以选择可用的以太网端口。</li><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_li25821139487">当“端口类型”选择“以太网端口”时，请选择可用的以太网端口。</li></ul>
</td>
</tr>
<tr id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_row37329815415"><td class="cellrowborder" valign="top" width="27.87%" headers="mcps1.3.4.2.3.2.1.5.3.2.3.1.1 "><p id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_p207321884417">最大传输单元(字节)</p>
</td>
<td class="cellrowborder" valign="top" width="72.13000000000001%" headers="mcps1.3.4.2.3.2.1.5.3.2.3.1.2 "><p id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_p1375213531110">网络平面的成员端口传输的最大数据包的大小。</p>
<p id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_p12732158045">取值范围为1280~9000。</p>
<div class="note" id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_note873220817410"><span class="notetitle"> 说明： </span><div class="notebody"><ul id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_ul0117647113118"><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_li1129971517112">最大传输单元即MTU（Maximum Transmission Unit）。</li><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_li12691194803116">未勾选“是否使用VLAN”时，选择“绑定端口”且“端口选择”为“创建新端口”时，该参数才能显示。</li><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_li59315616321">勾选“是否使用VLAN”时，选择“以太网端口”且“端口选择”为“创建新端口”时，或选择“绑定端口”时，该参数才能显示。</li></ul>
</div></div>
</td>
</tr>
<tr id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_row127329814420"><td class="cellrowborder" valign="top" width="27.87%" headers="mcps1.3.4.2.3.2.1.5.3.2.3.1.1 "><p id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_p117326819417">VLAN ID</p>
</td>
<td class="cellrowborder" valign="top" width="72.13000000000001%" headers="mcps1.3.4.2.3.2.1.5.3.2.3.1.2 "><p id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_p167321781647">如果勾选了“是否使用VLAN”，则必须配置VLAN ID。</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_li1275711171448">单击“<span id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_zh-cn_topic_0000002164798864_text18860171711328">确定</span>”。</li><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_li67570176411"><strong>可选：</strong>当本端复制网络与目标集群复制网络不在同一网段时，需要配置路由。否则，请跳过本步骤。<ol class="substepthirdol" id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_ol1575721710411"><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_li314863510164">单击对应端口信息操作列的<span class="uicontrol" id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_uicontrol1314812353164">“路由管理”</span>。</li><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_li0149235111619">在“路由管理”界面，单击“新增”。</li><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_li14150635131618">选择路由类型，在“目的地址”中输入目标复制集群的复制网络网段，填写子网掩码（IPv4）/前缀（IPv6）、本端复制网络的网关。<div class="note" id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_note71501035141616"><img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span><div class="notebody"><p id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_p215093510166">当路由类型为“默认路由”时，仅需设置“网关”。</p>
</div></div>
</li><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_li515216356169">单击“<span id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_text21521935151620">确认</span>”。</li><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_li161531035111619">单击“<span id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000002164798864_text14153183561617">关闭</span>”。</li></ol>
</li></ol>
</p></li><li id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000001149078659_li1871473615017"><span>单击<span class="uicontrol" id="ActiveDirectory-00024__foc_gud_0026_zh-cn_topic_0000002200147053_zh-cn_topic_0000001149078659_uicontrol58330521508">“确定”</span>。</span></li></ol>
</div>
</div>

<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="ActiveDirectory-00023.html">复制Active Directory副本（适用于OceanProtect X系列备份一体机）</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>